Handle fractions inside parens when parsing weight