Changing MongoConnection to use primaryPreferred