Deselection logic