Unit Type Switched

Has anyone ever seen this bug? It looks like one of the infantry I had running through capturing territories turned into a mercenary. I don't even have mercenaries researched.