@User yes it is a bit tricky, since there are multiple levels of (potential) substitution in the process. Please let me know if you are stuck on this, if that does not work it is either too complex / tricky or buggy so a better solution must be found.