Testcase HHH-4294
Bugfix proposal HHH-4294