RUBY-815: Set proper topology when replicaSet in URI