Added validation into API: now the transition must have at least one initial status