This lead me down quite a rabbit hole.
Short version: fixed for next.
Medium version: we often (but not always) assigned a button name property to an NPC. A bad copy pasta caused the issue you noted, as someone just copied the file and edited it to make each enemy.
Long version: I just reviewed all the NPC buttons, cleaned up a few lil issues and made things more resilient going forward. Now if the button name is not defined, it will just grab, you know, their name, and we define the button name less often.