Fix typo in endfor