Added creation of the draft for a published document that does not have a draft anymore (was deleted for example, or document was created directly published, programatically).