Fix brokenness with changing section headers/footers