Autocomplete bug fix.