Requery autocomplete on cursor change
Also update queries on click