BUGFIX: Wrong calculation of state count for switch blocks.
v0.5.5