Merge "Improve comparison of fractions"
am: 0517cd144f

Change-Id: I211f5ea4546e400b328c244908e23cb7c375eb04