Fix to room join so that bad rooms don't get added to the room code.