If you want to be certain, call them or ask a CPA or registered agent. But since your first amendment was rejected, I think calculating from your original is the correct thing to do. If you have some free text in the "reason for amendment" box, mention your prior amendment was rejected for the issue with the refund, and this corrects that mistake. (In additon to whatever the original problem was with the federal return)