I tried four different tax software packages this year for my scenario and every one was wrong either in taxable amount or tax due.
That includes TurboTax Online Premier.
Tax software can be buggy.
Finally, I gave up and did an override to enter the proper numbers and filed a paper return.