We want the information returned to not duplicate instructor names. The xpath pattern that was being used to match against instructor names for the section returned the full list, which in this case would mean duplicating the instructor with sunet id "123". This code update only keeps a unique set of sunet ids and related names for each section, and returns them in the information for the section.
If the XML for an individual course has the following hierarchy (the example omits other attributes and elements not related to this pull request):
We want the information returned to not duplicate instructor names. The xpath pattern that was being used to match against instructor names for the section returned the full list, which in this case would mean duplicating the instructor with sunet id "123". This code update only keeps a unique set of sunet ids and related names for each section, and returns them in the information for the section.