On rewiring links in a TripleNetwork the numbers of triples might not be updated? This seems to happen in the older largenet code used in the undirected voter model with triplet and quadruplet output. In that case, even though the number of 0-1-links is zero, a non-zero number of 0-1-0 triplets is reported. As the changeLink() method is still the same code, I suspect that the problem persists.
For now, carefully check triplet numbers for consistency when using TripleNetwork.