Fixed autocomplete - now works when starting from a new query