Add some debugging to the replication checking