Fix bug: require groups at the 'programme' level for 'course' level as well as 'course (all years)' levels.