mongoengine: fix title change entry duplication bug