Fix #1287 "fr:section with open="false" is closed in PDF"