Another fix for when the denominator is 1