For Loop With Break not working as expectations

The Sequence is the problem. Breaking the loop not affect the next iteration of sequence. Your code should look like this