Do not submit empty queries.