esl-8743 Fixed an issue where updating a document's metadata wiped out all fields and signatures.