Hi Ihor,
Thanks for checking.
I could narrow down on the issue. It happens after (require 'org-inlinetask) is executed.
So to reproduce:
1. emacs -Q
2. paste the following snipped (right into the scratch buffer)
3. execute the two commands at the end C-x C-e for each
4. collapse all (TAB TAB)
5. expand Example (TAB)
5. go to heading 2 and expand it (TAB)
This should surface the issue.
>>>
* Example
** heading 1
xxxxx
** heading 2
*************** TODO Test access with provided credentials
xxxxx
*************** END
** heading 3
*************** TODO State "high value" targets :@CB:
xxxxx
*************** END
** heading 4
xxxxx
(org-mode)
(require 'org-inlinetask)
<<<