Reveted:
https://github.com/Sammaye/MongoYii/commit/56385be9c3ccdc1f1a30da9c500eac9fed834070
and tweaked the int regex according to:
https://github.com/Sammaye/MongoYii/issues/44