Fix issue deleting user from course-session - refs BT#8227