Fix wrong groups displayed for teacher issue.