Ensure that integers are passed to LogicalOperator