There was a major enhancement in 4.3 regarding rendering of this sitemap element.
As it works pretty well and better than before for all of us, we have to understand what is wrong in your case.
I retry my question: did you reproduce it without visibility condition? My idea would be that the bug is when visibility condition is involved. I have not such a case in my usual sitemap in production.
Definitely with visibility, same for me with this annoying new display regression, even when other improvements might have been introduced so not a single case with @jimmbimm
Yes, it is specific to the use of visibility. It happens only when the visibility condition changes.
It is easy to reproduce as I intended to show with my simple example.
And since I was able to reproduce it even with a fresh install with nothing but these two items and this little sitemap I assume that this is a general problem.
I agree that rendering of this sitemap element works pretty well and better as before, but unfortunately not if one wants to show different mappings depending on a visibility condition.
@jimtng proposed a fix I just merged. I have not tested it myself but you should be able to test it if you install the snapshot that will be built tomorrow.