fix for dealing with Replica Sets in 0.10