Fixed bug in pkt counters