Fixes stupid bug that forced me to have separate view and template for search results.