Oh, that’s unfortunate. But, don’t worry, you still have a 2nd chance
You can use server-side rendering instead of client-side rendering, to inject the query.currentcase variable
If you’re using NodeJS, take a look at this bug report of mine where you can copy-paste the syntax:
If you’re using PHP, I’ve never tried it, you can try to click “Server-side binding” in the UI to see the syntax it generates. Test it on regular text (like in a <p> tag) first
Happy to help!