Retirement tax questions

Did you also enter the amount you put back under Deductions like a new contribution?  Don't enter it there.  Only enter the 1099R.  It will ask you what you did with it.  Pick you moved it to another account even if you put it back into the same account.  Then you enter how much.