SSP-1923 Short-circuit term validation if no term offerings exist

Fixes a logic bug where the short-circuit was term-scoped and if
none of the currently planned courses in a term were valid, the
empty result set from the term-course lookup was interpreted as
there being no records in external_term_course, period, and all
courses in the term would be considered valid until at least one
actually valid course was planned.