We check the validity of queries in the sender so that in the search
engines, the query is assumed to be clean. Exceptions don't need to be
thrown in submit function