Instances insts = createDateDerivedPeriodicList();
m_dateDerivedPeriodicSelector.setInstances(insts);
m_dateDerivedPeriodicsHeader = insts;
// make sure that selected stuff stays selected
boolean[] newSelected = new boolean[insts.numAttributes()];
for (int i = 0; i < selected.length; i++) {
Attribute toFind = oldList.attribute(selected[i]);
Attribute toSet = insts.attribute(toFind.name());
if (toSet != null) {
newSelected[toSet.index()] = true;