Fix join/leave logging