Fix SelectState
Merge pull request #1 from djhaskin987/master

Fix SelectState