enrol_gudatabase: working on end date stuff