Fixed bad default argument handling
Fixed missing replica set name in connection