Fix tag autocomplete.