MB-12107. Fix floating point comparison