This only happened on existing classes, where the lessons and courses that I have assigned previously are not visible when I click on the Lessons tab for each of the class.
However, if I create a new class and assign new lessons/courses to it, they do show up in the Lessons tab for the new class. Do anyone having the same problem?