title: Mongoose boolean query within array returns all records
body: <p>I'm trying to figure out how to select certain objects within an array that meet a criteria with Mongoose. </p>
  
  <p>Assume the following records:</p>
  
  <pre><code>var Record = {
     records : [{name : "you can't look', isPublic : false},
                {name : "ok you can look', isPublic : true},
                {name : "you can look here too', isPublic : true}]
  }
  </code></pre>
  
  <p>And the following query :</p>
  
  <pre><code>Record.find({'records.isPublic' : true}, function (error, response) {
    //This returns all the records, rather than just 0 and 2. 
  });
  </code></pre>
  
  <p>Any ideas would be much appreciated.</p>