SSP-1077, SSP-1166 Add preconditions to v_external_faculty_course_roster def fix