Fixing scope on done statement

I think this is how it was intended. Feel free to correct me!

This would print done after all checking, as opposed to after every
comment.