This is the new code based on yours code:
Support Forum
Thank you for clarifications, I've updated the ticket with more relevant test case. It's high prio bug that should be fixed asap. https://github.com/bryntum/support/issues/6415
All the best,
Alex