Rework JoinGroup, and LeaveGroup, such that they are compatible when using Oracle.