Fix incorrect IPRP_SPELLS assignment and row ID bug.