Incorrect usage of break substituted by if.