Fix Bug 904639: Update gallery page for end of voting. Decoupled search from vote waffle flag.

PR Fixes: Fixed Typo (note -> not), added back hide_gallery_header check, fixed indents