adds check for deselect
Merge pull request #1479 from CalebJohn/fix_deselect

Adds check for deselect