Fixes to fraction printing