Fixed the way the draft and the published document are compared on unpublish action. It used to be only content diff, we added a function that would compare content, metadata, objects and attachments.