Mac (note the arm64 processor, and the fact that KM is Mac-only software ).
That's what's breaking it, compared to my test. The %FrontBrowserWindowName%
returns the renamed window name but the "Bring Window to the Front" action requires the orginal name.
While you wait to it to be fixed (or for someone to come up with a cunning JavaScript solution), you could replace your current actions with an "Execute AppleScript" action along the lines of
tell application "Google Chrome"
set index of item 1 of (every window whose title contains "Rubbish") to 1
end tell
...replacing "Rubbish" with the name of your window.
Or you could stop renaming windows