Deselect TE after its been deleted