when trying to remove a key or the whole key assembly from a key switch slot in a panel the block does not update and produces multiple "ghost" keys that some times disappear from the inventory when clicked
this can be reproduced in the 1.19, 1.20 versions
I suspect a block update and setChanged need to be triggered when the key or assembly is removed