Changed term id to term name in teacher class list