I have inconsistent result with XML processing

Hi

I am trying to process an XML file, but some XPath processing does not work as expected. Sometimes, the result of the very same process of one XPath node is good in places, in other it is not.

Good result:

Bad result:

Config:

XML snippet:

I hubbed a testcase.

I am not sure, whether I am missing something or whether there is a bug (would hugely surprise me).

Kind regards

Thiemo