Resolved inconsistency between OP_GTH and OP_LTH in OperatorBase.simulate and OperatorBase.__str__.