canDiscardDeletion fix