Fixed MarkDeleted and Mark Undeleted