Only use mongoOpts when passed into mongo API