Retirement tax questions

Hi Amy.  I have a follow-up question on this topic.  I filed amended state returns for prior years (2018-2020) in early 2022 and received refunds later that year.  All three years we took the standard deduction which would have made the state tax refund non-taxable.  Yet when I enter them individually (to correctly identify the tax years) they increase my tax liability.  Is this correct?  If not, is this a Turbotax error?  What is my path forward?  Thanks!