Fix a bug when student in group but dropped from course

The student will be ignored from group syncing