Since the 2.17 has been replaced by the 3.0 which has been officially released, this topic has been superseded by this one.
And within that new topic, which is more generic, I made a solution proposal here to the problem I did initially raise in this current topic.
Sorry for the change, but as it appeared the problem is wider, it did make more sense to have a generic topic about the underlying problem of which this particular problem is only one of the use cases…