Fixed .reduceFraction() to work for nested fracs