Fix typo in loop condition