On setConfiguration the first entry in the configuration entry was always taken. Now it takes cfgNum as index number.