Changed npcdb_checkid to use MAX_NPC_CLASS2_START and END.