Why is this for loop an infinite loop?

For some reason the top loop is the limit before it says I have an infinite loop, wich is not true
This is the only actor of its class in the scene

How i solved it: I changed the Maximul loop iteration count to a lower number, restarted the engine and it worked!