Fixing mongoengine 0.7.10 support