we analysed an unexpected behavior and find out that the result of an Query are wrong.
We prepared an Example that shows the BUG. (see attachment)
The Example executes two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE condition. But than we get another (wrong) result.
We used Version 2.6.5 and the BUG is fixed with Version 2.6.6. But we report the BUG, because a wrong Query result is very very Critical and we didn't found a notice in the ReleaseNotes for this BUG.