Fixed a bunch of critical bugs in MongoStore. Critical fix for nested queries, _id values and the mongo tests