Left: ToC with folded Headlines → Wrong
Right: ToC without folded Headlines → Correct
That‘s a known bug:
By the way: Nice to see screenshots from scientific notes in bear! Also naturwisselschaftliche Notizen, wie immer das auch im Englischen heißt!
It is such a blessing to be able to go to university with such great tools: Bear 2 for my summaries + PDF Expert for PDF files of scripts and presentations + GoodNotes for handwritten calculations. An Computer Science Students Dream
I can confirm this bug will be fixed with the next update.