switch-to-configuration: Ignore slice units

(cherry picked from commit c812e45292e90d5138659574ad9c403c02718332)