Small fix in editing castling rights