fixed empty searches, autocomplete doesnt show if form is submitted in the meantime