Support for MongoDB replica sets GH issue #86