Clean up search.