Bugfix: course activityTree metadata correctly updated.