Maybe extend current_schoolyear and gradeFromYOG to handle old programs, rather than duplicating their logic in here?