Filtering out empty searches