Fixed nested switch control issue
v2.3.0-beta-1