Ensure open/fullsetup command executes correctly returning the righ db for server/replicaset and mongos #1044