Fixed a regression in tag autocompletion due to the new full AST being used.