Balancing small business deduction eligibility and capital gain exemptions requires careful planning.