Fix: Resolved "Exception: unorderable types: Fraction() > int()"