Balance the various brackets

Minor fix, but perhaps worth it.
Merge pull request #1 from michaeljones/patch-2

Balance the various brackets