Ensure valid mongo selector object