Fixed bug for optional Glossaries-file