Fix build.
tag autocomplete can filter keys by element type.