You need this incase the query._id doesn't match any of the ids in the ids array.
```
if(ids.length > 1) { ids = []; }
```