Don't send request to server when query is blank