Add check of selected transition index