Correct bug with fractional handling