When there are more path predicates for single file separated by ',' only one of them is used.
Created attachment 141716 [details]
Added proposed fix.
I can't recall what was the problem. As such I am not able to write a test and verify the fix fixes something. Can you please remind me, Tomáši?
The problem is when having:
there are 2 xpath for single file: pom.xml but only one of these xpaths is checked (random depending on hash).