Fixed continue and break. Attempted if fixes.