opened
ekahannes
username_0
If pagination is activated and a geoQuery is used like $near the following server error is send to the client:
`$geoNear, $near, and $nearSphere are not allowed in this context`

I tracked the issue down to the following lines (169-171) in the `index.js`:
```
    if (paginate && paginate.default) {
      return this.Model.countDocuments(query).then(runQuery);
    }
```

My setup is the following:
Module Version: 6.1.0
NodeJS: v12.13.1
MacOS: 10.15.3
$near query with pagination
issue