clean up the Document._get_collection code (#1540)
clean up the Document._get_collection code (#1540)


Davidrjx/mongoengine,cogniteev/mongoengine,cogniteev/mongoengine,MongoEngine/mongoengine,Davidrjx/mongoengine