Added merchant class check for experience gain.