Fixed https://github.com/Sammaye/MongoYii/pull/15 finally.