Fix NPE when state has no transitions
milestone