Deceased final federal return with overpayment of state tax deduction

Filing my mother-in-law's final returns and taking the state tax paid deduction on Schedule A. The state will issue a refund for over payment. Normally this refund gets accounted for in the following year. If I enter the correct tax due the state in Schedule A, then the state return has the wrong amount for estimated taxes paid. How should this be handled?