title: find objects in a database by range
body: <p>Im trying to find objects in a database, but i can't get it to work if i use range as a query. 
  Does anyone have any pointer of how i can find documents between to date values?</p>
  
  <p>if I skip the range i get all the document in the database so something is wrong with the query,</p>
  
  <p>mondodb query</p>
  
  <pre><code>     db.collection('insights').find({'date': {$gt: '10000000', $lt: '90000000000000'}}).toArray(function (err, items){
      res.json(items);
      console.log(items)
  });
  </code></pre>
  
  <p>database</p>
  
  <pre><code>{"_id":"5450b2889d96472e67c99691","username":"josef","date":"'1414574728436'"}
  </code></pre>