Unfortunately I didn’t get a notification when you replied so meanwhile I came up with the exact same solution but your answer could have save me a lot of time and frustration
I’m also posting here your Tips&Hacks post about the general idea behind the solution:
It’s a really smart hack that can come handy in a lot of different situations.
Thanks again!