Fix getting remaining units issue on enrolment_planner