Fix letter_fraction function.