Equip Comparison Upgrade - Changing Classes With Items

http://sumrndm.site/equip-comparison-upgrade/

I am trying to find where I would have to apply the class change to have that plugin evaluate the stats correctly including the ones from the class change. Currently equipping my items which change the class shows no changes even though the stats are altered after being equipped.

How I am currently handling the class change if anyone is wondering. The note "c" is a number corresponding to the class they are changing too.

Code:
var actor = this.actor();
var equip5 = actor.equips()[5];

if (equip5) { // something is equipped in armor slot 5
  actor.changeClass(equip5.meta.c, true);
} else { // nothing equipped there
  actor.changeClass(5, true);
}

Original thread: https://forums.rpgmakerweb.com/threads/equip-comparison-upgrade-changing-classes-with-items.84303/