hub: fix division by zero in long-term problems