ForEachLoop doesn't iterate all items

2023 here, this was exactly what was happing to me, great post and explanation.