Fixed bug 0000116 - division by zero after update to 6.0.0