org-version reports the same version, but now the same code (posted before) works. So it's fixed. 

But shouldn't org-version report 9.5.5 instead of 9.5?

Ihor Radchenko <yantar92@gmail.com> schrieb am Fr., 30. Sep. 2022, 10:22:
Michael Dauer <mick.dauer@gmail.com> writes:

> This is the latest commit on main, isn't it?
> Head:     main fixup! org-fold-core: Respect 'ignore-indirect optimization
> better
> Merge:    origin/main fixup! org-fold-core: Respect 'ignore-indirect
> optimization better
> Tag:      release_9.5.5 (852)

Yes, it is.

Org repo is at https://git.savannah.gnu.org/cgit/emacs/org-mode.git/
Also referenced at https://orgmode.org/

--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92