SQL bugfix: skip COURSE_PERIOD_SCHOOL_PERIODS

If missing required fields