Fix: negative ticket count was sometimes displayed