Fix in integration order calculator.