fixing bug #5441
only 'attachment' documents were removed when workflow instance was removed
now all documents are removed
adding some logs