11 months late reply, but...
Yes, it was regenerated. The problem persists now still. Seems to be when the "ref" valid includes underscores. I'm guessing the feature only removes keys with alphanumeric values. Seems to me it would be reasonable to include _ and - if nothing else.
Thanks