Fix bug in join/part command.