ISPN-4783 Using new ArrayList<>(resultCache.values())

* Added test to reproduce
* Actual issue fixed in ISPN-4836