Fix bug relating to TPB and leech count