Fixes bug where the first user found without a staff / student number could be added to a course enrolment.