Fix bug 0000133 - division by zero after update to 6.0.1