Could be that her soul was bound as the golem's animating spirit instead of the standard earth elemental. Souls = class levels might be how it works.