Retirement tax questions

The total amount is over $100K including SSA.  The Pension worksheet correctly has the limit of $20,000, however form 104AD is incorrect.