Fix autocomplete regression