Issue 2440: Unequal Definate Integrals bug fix