On my NYS return, the credit for the Govt Pension appears, but so does the credit for other pensions. Should both credits be included or is there an error in TurboTax?

I verified that the correct check box was indicated on the federal return.