avoid errors when forward-migrating course_groups after south conversion

JIRA: TNL-937

@andy-armstrong @cahrens
@feanil FYI