Small bugfix in P2P stats