Relocated the setting of ic_ndx.