Getting the header of WHEN .. IS ... specif block doesn't work

I was making a hat which only works via metaprogramming, and got this bug. Far as I can tell, the only hat this happens is WHEN … IS …
untitled script pic - 2026-04-09T205322.197

I’m assuming it has to do with the fact that hats aren’t counted properly in metaprogramming?
e.g.: you can’t make a hat into a condition hat, the extension[ide_blocks V] @<:> ::reporter doesn’t have hats
maybe this is related?

Seems like the WHEN … IS EDITED block always have the “default” text in that slot. If you were to change it: