Problem with hidden sections

I’m using a template to generate a pdf-document with the LibreOffice Java api. In this template there are some user fields which are filled in java-code. Also I want to use sections to hide text if it’s not applicable.

Here’s the problem. For testing all the sections had the hide condition: ’ 65OrGreater EQ “0” '. But the last section in my template is NOT hidden while all the other sections ARE hidden.

I know it’s a strange question but I hope it is clear.

I do not know enough about the API to answer, but your question really makes me curious. Generally, what are the functions used to apply sections automatically to certain parts of a document?

You can file a bug with the template attached. This doesn’t look like a common misuse.