Fixing delete student works when removing a user from a course see BT#7027