Fix do while loops.