Don't send search query when query field is empty