Fixed choose for open intervals.

The check against infinity was broken.  Now, I use InfinitNumber.isInfinity()
instead of == or simply comparing the mA part of the InfinitNumber.