Bug Fixes

Added a break statement in the for loop, which I somehow originally
overlooked.