Merge branch 'hotfix-1.0.5'
Merge branch 'hotfix-1.0.5'
Dont delete only published documents.
Merge branch 'hotfix-1.0.6' into develop