[6968] Replace check for spell category removed in 3.0.x with spellid.