Fixed issue on replication when a node dies