Here. I tweaked it a bit, configured everything as needed, using the Gremlins as an example.
No dummy creature was needed.
https://disk.yandex.ru/d/GTNgAi5kZwGIHg
Now, there is a bug where the actual upgrade cost is zero, even on the third level.
Added 30 minutes later
If I may add to what I wrote earlier, the third-level upgrades also need to be listed as upgrades for each other.
Here's how I have it configured (these settings were in place when I recorded the video, and they are still the same).
Sniper

Marksman

Royal Crossbowman

Crossbowman