WP-2729 Check for sections before saving the entity ids for instructors.
WP-2729 Adjusted the node lookup to use code, subject, and year.