Using `break` inside an if behaves strangely

  Using `break` inside of an `if` block seems to actually break out of the
`if`, not the enclosing loop.