title: MongoDB $or query not working for me after mongorestore
body: <p>I ran a <strong>mongodump</strong> and then <strong>mongorestore</strong> to move a MongoDB database from one computer to another. The data are there, I can query them (first query) and get results but using <strong>$or</strong> in a query produces no results (second query).</p>
  
  <pre><code>db.employees.find( { 'name.first' : 'Joe' })
  -- vs --
  db.employees.find( { $or : [ { 'name.first' : 'Joe' }]})
  </code></pre>
  
  <p>As far as I can tell, indexes have been recreated from system.indexes.bson, any ideas what is wrong?</p>
  
  <p>indexes:</p>
  
  <pre><code>&gt; db.employees.getIndexes()
  [
      {
          "name" : "_id_",
          "ns" : "data.demployees",
          "key" : {
              "_id" : 1
          }
      }
  ]
  </code></pre>
  
  <ul>
  <li>original server: MongoDB 1.6.5 64b</li>
  <li>new server: MongoDB 1.4.4 32b</li>
  </ul>
  
  <p>I was running the query through the console, not pymongo.</p>