Type correction for CardTypeId