Add check for sections where glossary is not explicitly terminated