Use continue instead of break; Fixes bug introduced by last commit