Fix some indentation issues (uncrustify doesn't know about foreach apparently).