Fixed Macro loop counter not copied when duplicated.