Crash renaming kerning groups

I’ve put /A and other /A-like things (/Aring etc.) into a kern group called “A”. Now I want to change my kerning entries that referred to “A” to refer to the group “A”. So I do this:

And it asks me if I want to change or rename. I think I want to change. But now it looks like this:

That’s surely not what I wanted, so I change it back to “A”. Sometimes this works but I have two entries in the kerning table for “@A”, and no matter how much I compress/clean up/etc. the kerning table, the two entries remain:

or sometimes it just crashes.

There’s a script to copy kerns in Tosche’s github repository. Try copying the kerns to a group with a different name, delete both versions of @A, and then rename the new group.