Fixed division by zero errors on main manager page