title: PHP MongoDB Search in array
body: <p>I've been put in a rather odd situation. This is my document style.</p>
  
  <pre><code>{
    _id: ObjectId("4ff642fcc33203be3ba36e39"),
    agents: {
      1: "Sharon57 Braveheart",
      2: "xoJessxo Pexie",
      3: "KRISxsee Ronas",
      4: "Consualo Resident"
    },
    estates: [
      "Surreal"
    ],
    lead: "Allyson Breumann"
  }
  </code></pre>
  
  <p>$team = $db->teams->findOne(array("agents" => $ownername)); used to return the document above. However now it just returns null. I can search for the lead and it works fine. Is this new a new bug in mongodb update? Version  2.4.1</p>