Fix possible error in ASTNode