Fixed bugs with stash code that could crash certain searches.
Fixed bugs with stash code that could crash certain searches.


Former-commit-id: d16c2042a982dd709f552e52202d259942995881
JeffreyBLewis/WebVoteView,JeffreyBLewis/WebVoteView,JeffreyBLewis/WebVoteView,JeffreyBLewis/WebVoteView