Fix autocomplete default handling