ref #6794 fix early setting of termType during term loading