Fixed search for autocomplete.