Index: /WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py
===================================================================
--- /WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py	(revision 2646)
+++ /WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py	(revision 2647)
@@ -3,10 +3,4 @@
 """
 Return the levels as an vocabulary
-#
-try:
-    from Products.zdb import set_trace
-except:
-    def set_trace():
-        pass
 """
 student_id = context.getStudentId()
@@ -33,5 +27,8 @@
     return voc
         
-ikey = int(key)
+try:
+    ikey = int(key)
+except ValueError:
+    return ''
 level_nr,repeat = divmod(ikey, 100)
 l = []
@@ -39,9 +36,10 @@
 level = context.portal_vocabularies.levels.get("%d00" % level_nr)
 if level_nr > end_level/100:
-    return "%s (spillover)" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))
+    return "%s spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))
 
 if repeat > 0:
-    level += " (on %d. probation)" % (repeat // 10)
+    level += " on %d. probation" % (repeat // 10)
 
 return level
 
+
