Handle precision of fractions better