DB/Conditions: Fix conditions for class trainer npcs, so gossip menus will show up correctly for every class

Description in related issue:
#9952