fixing ReplicaSetConfig Equals method.