Fix autocomplete bug - after query, shows up autocomplete results