Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py	(revision 8224)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py	(revision 8225)
@@ -261,11 +261,12 @@
 
     def getParent(self, row, site):
+        NON_VALUES = ['', IGNORE_MARKER]
         if not 'students' in site.keys():
             return None
-        if 'student_id' in row.keys() and row['student_id']:
+        if row.get('student_id', '') not in NON_VALUES:
             if row['student_id'] in site['students']:
                 student = site['students'][row['student_id']]
                 return student
-        elif 'reg_number' in row.keys() and row['reg_number']:
+        elif row.get('reg_number', '') not in NON_VALUES:
             reg_number = row['reg_number']
             cat = queryUtility(ICatalog, name='students_catalog')
@@ -274,5 +275,5 @@
             if results:
                 return results[0]
-        elif 'matric_number' in row.keys() and row['matric_number']:
+        elif row.get('matric_number', '') not in NON_VALUES:
             matric_number = row['matric_number']
             cat = queryUtility(ICatalog, name='students_catalog')
