in tab, stems randomly cross or avoid note numbers in chords when avoid-note-head is false

"David Obdrzalek" <[email protected]> Thu, 07 Aug 2025 14:03:40 +0200
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
As per the attached .ly and resulting image, in tabulature, stems randomly 
cross or avoid numbers representing notes in chords when avoid-note-head is 
false. 
In my opinion, the stems should be "hidden" behind the numbers. 

Behaves the same with both last stable 2.24.4 as well as development 2.25.27.

Thanks for this magnificent tool! 

Best regards,

David
bad_stems.ly (application/octet-stream, 631 B) - not displayed
bad_stems.pdf (application/octet-stream, 50.7 KB) - not displayed
bad_stems.png (application/octet-stream, 26 KB) - not displayed