Course Sections fix

The Course Sections rendering was stoped after finding
empty sections. This commit fixes the issue.