Try to make ensureIsReplicaSet work with sharding. See https://github.com/richardwilly98/elasticsearch-river-mongodb/issues/444