Index: main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
===================================================================
--- main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py	(revision 13756)
+++ main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py	(revision 13757)
@@ -333,7 +333,7 @@
         if category == 'schoolfee' and student.is_postgrad:
             amount += academic_session.penalty_pg
-        elif category == 'schoolfee' and student.current_mode.endswith('ft'):
+        elif category == 'schoolfee' and student.current_mode == ('ug_ft'):
             amount += academic_session.penalty_ug_ft
-        elif category == 'schoolfee' and student.current_mode.endswith('pt'):
+        elif category == 'schoolfee' and student.current_mode == ('ug_pt'):
             amount += academic_session.penalty_ug_pt
         if category.startswith('tempmaint'):
