Fix infinite loop when rationalizing small values.