Thanks for the information @Jamie, I have created an issue on GitHub for this loop breaking behaviour to be fixed.