Add warning for unset card ID (-1).