Fix for blocks with no trailing comma on last line