Fix search with empty query