Fixed bug in XML parser where all courses were being added together, even those in subgroups