Fraction error resolved

Changed a || to &&