Fix loop while indenting multiple lines