node.js - Mongoose returning inconsistent results -


i'm experiencing strange problem in mongoose related find queries. when run query below, variable number of results. consistent 210 results when querying in mongo, between 198-210 results when doing same thing through mongoose. i've tried query , without indexes set.

any suggestions on might causing appreciated.

customer model:

subscriptions: [   {     renewal: {       type: boolean,       default: false     }   } ] 

query

customer.find({ "subscriptions.renewal": true }, {}, { timeout: false }) 

the problem cleared when removed customer collection indexes mongo (not definitions in schema). experiencing issue might want give try.