don't bother searching when the query is empty