Don't send empty queries with from the index page