Fixed DS iteration so that the PNP template is working with RRD mode 'MULTIPLE', too.