nitpicking, but - can you put a comment there to explain the condition&break?
It makes parsing through code more pleasant :)

If not I can just add it later