Fix: https://github.com/Sammaye/MongoYii/issues/227