Fixed break and continue inside while loop bug.