Fix host_uri when creating MongoDB connection to a ReplicatSet