@chriscoyier gist.github.com/kingkool68/a0e99…
In theory what you have should probably work but here is what I came up with and a detailed explanation of what it does. I tested this on a local set up and it works as expected.
If that doesn’t work for your site maybe there is another action involved