Fix rate_6pos_switch setting data type and initialization (#9184)