fix bug with autocomplete in search filters

fix bug with autocomplete in search filters