title: MongoDB returning incorrect results
body: <p>I'm using MongoDB 3.2 on Windows 10 and mongoose with Node.JS. For simplicity, I'm pasting mongo console query:</p>
  
  <pre><code>db.ethtransactions.find({
      "blockNumber" : 884629
  })
  </code></pre>
  
  <p>Returns no results.</p>
  
  <p>Expected:</p>
  
  <pre><code>{
      "_id" : ObjectId("5730dfa27549536802fb6da3"),
      "blockNumber" : 884629,
      "transactionIndex" : 27,
      "from" : "0xd005c515db902b1b77beb98370ba1f16b3111d7b",
      "to" : "0x5770345100a27b15f5b40bec86a701f888e8c601",
      "value" : "0"
  }
  </code></pre>
  
  <p>If I add " to the "blockNumber":"884629" part, the query for blockNumber as follows:</p>
  
  <pre><code>db.ethtransactions.find({
      "blockNumber" : "884629"
      }
  )
  </code></pre>
  
  <p>It returns the expected value in mongo console, but I returns the incorrect value from Node.JS. </p>
  
  <p>Collection definition:</p>
  
  <pre><code>var ethTransactionSchema = new mongoose.Schema({
      blockNumber: Number,
      blockHash: String,
      hash: String,
      transactionIndex: Number,
      from: String,
      to: String,
      value: String,
      input: String,
      nonce: Number,
      gas: Number,
      gasUsed: Number,
      cumulativeGasUsed: Number,
      gasPrice: String,
      isContractCreation: Boolean,
      logsString: String,
      timestamp: Date
  });
  
  ethTransactionSchema.index({ blockNumber: -1 });
  ethTransactionSchema.index({ hash: 1 });
  ethTransactionSchema.index({ transactionIndex: -1 });
  ethTransactionSchema.index({ from: 1 });
  ethTransactionSchema.index({ to: 1 });
  ethTransactionSchema.index({ blockNumber: 1, transactionIndex: 1 }, { unique: true });
  </code></pre>
  
  <p>Any thoughts?</p>