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

* Added test to reproduce
* Actual issue fixed in ISPN-4836

https://issues.jboss.org/browse/ISPN-4783