Changed a break to continue def.