MDL-32505/MDL-32508 course: fix section_links block