As a level 19 Druid, my Wolf companion, when examined, was a level 19 Ranger. (Same for levels 1-18, too.)
As a level 20+ Druid, my Wolf companion, when examined, is a level 20 Fighter.
So why did my Wolf buy a +20 Heart and respect out of Ranger levels?