searches can't have emtpy queries

Issue #4