Software is not providing the maximum contribution for the Mass. retirement deduction ($2,000) on Massachusetts Form1. It provided this correctly in 2016, not for 2017.

I am specifically referencing line 11a on the Massachusetts Form 1.  I contributed to the Mass. Retirement System but the deduction is only referencing the amount listed on line 6 on my W-2.  Turbo Tax handled this issue correctly last year.  I think there is a glitch in the software.  PLEASE HELP!