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