Only take empty searches into account if we submitted the form.