Fix loop condition