fixed negative rational numbers comparison (denominator is now always positive)