Use next to break loops versus just using conditionals

this could be part of the previous condition, but I don't have a strong opinion on what is more readable.