Task #39891: fixed troubles with EventScenario

Fixed bug with fatal error of EventScenario, added converting from ordinal to cardinal nubmer
yep, because there can be that/those/first/second etc.