Fix the Collapse/Expand All buttons in the Section Editor. Closes #1729