Fixed https://github.com/Sammaye/MongoYii/issues/78