My Courses page would turn out be blank if a course without an offering was added.

Fixed the issue.