Added self-loop guard + caused it to happen in test_hcp_net.