Update YMongoDocument.php

Fix issue https://github.com/fromYukki/Yii-MongoDB-Driver/issues/1