Fix bug: courses and units can have more than one parent.