Its probably correct as that code I think is generated by the module itself and not the course format or course code.
Courses and course formats
Course activity display bug
This discussion has been locked so you can no longer reply to it.