Fixed the issue with fractions and shunting.