Bug fix: [TeacherCredits] calculate degree teaching credits