Fix the Collapse/Expand All buttons in the Section Editor. Closes #1729
Correctly check checkbox value. Fixes #1730.
Merge pull request #1731 from michael-e/fix-checkbox

Correctly check checkbox value. Fixes #1730.