I tried to create test which reproduces the issue (however improvements are welcomed). It's available at https://github.com/tremes/core/tree/WELD-2119_test