Fix search query.