avoid errors when forward-migrating course_groups after south conversion

JIRA: TNL-937