Correct the "is peer live" checks in `PeerManager`