Clear search results before rendering, use templates.