Issue 2440: Unequal Definite Integrals bug fix