Add verification of SelectedIndex.