Reduce fraction further

This is an alternative to the last bugfix that has the added benefit of reducing the fraction.