BS-7514, fix evaluation of data in maxiteration of loop: wrong container type was used