This appears to be a vanilla bug, and I'll see if I can work around it. Thanks for bringing it to my attention!
I use the vanilla "GlobalExperience" field. I suspect Firaxis forgot to check if the new unit is actually new or is the result of an upgrade. I'll replace this field with one that works properly.