Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.
This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.