Task #39891: fixed troubles with EventScenario

Fixed bug with fatal error of EventScenario, added converting from ordinal to cardinal nubmer
You got rid of that/those?