Check progress immediately after enrolling.
Issue #2226597: fixed issue where the second course object is not protected. updated tests.