Various fixes, mainly to documents that do not unpack correctly and therefore cannot be cleaned.