Fixed a bug in ConstEstimatorNode in ast.py.