Why is there a continue followed by a break?