Fixed mongoengine wrapper to make dbshell to work