I looks like it has issues with nested sections, if you comment out 152 and 172 then it works fine allowing the section on line 166 to work. Don't mind my other modifications in the screenshot, I was trying out various things to see what was going on.
@gopher.ny is this intentional or a possible bug?