Ensure mongo selector is an object