fixes to code for marking a document complete that has no corrections.