Fixed Scoping Issue from Logging

md5sum a.out
72205a3924972176282ef786c4bd9627  a.out

Fixed a place where I had originally had no {} because it was a single
line for loop, but with the addition of logging it became more than
that.