Fix handling of the mapping between parameters and automation CheckMenuItems. Should...