Fixed key replication on crashes and leaves