Issue with using queryFilter inside cfloop/loop

I’m looping over a query and inside the loop I want to filter that same query, while the filtering works, it seems to overwrite/skip the initial currentrow?

I tried different ways of doing the same thing, it seems to work with the script syntax but not with tags.
While I seem to get the correct/wanted result for the tag based approach in ACF 21/23, I can’t seem to make it work with Lucee 5/6.

Before the queryFilter the value of currentRow is 1 and after it’s 3. I’m able to make it work if I use a cfquery dbtype="query" instead of the queryFilter.


After posting it, I found this issue, sound pretty much like it: [LDEV-2027] - Lucee