fixed NearlyEquals() return value