Only show TE history in TE autocomplete, fixes #973 (lib)