NMS-7119: Use old school array iteration to support IE 8.