Code correction for check in ChessParser.