fixed the replicaSet behavior for adding nodes