Fixing issue with autocomplete.