Currently having a problem with some of my Pokemon being flagged as illegal by PkHex due to them having Battle Memory and Contest Memory. However, even after I removed these ribbons (either manually or using batch editor with .Ribbons=$suggestNone), the Pokemon is still flagged as illegal for invalid Ribbons. However, if I recreate the exact Pokemon, the mon is then flagged as legal even though there is no difference between the illegal and legal mon.
Is this a bug or can I do something to get PkHex to flag my fixed Pokemon as legal?