Fix CLI to handle deductions and exemptions.