Compare fractions with the same numerator