Made autocomplete work for local DB search