Correct send document for deleted documents (closes #3981)