Cleanup search.