Fix bad break from loop.

Fixes last broken rspec test.