A loop control variable was shadowed inside the loop and never updated.
Attach a file by drag & drop or click to upload