Fix renamed parameter in DeleteDocument