On the first 1099-R, you should have seen the questions (after entering the numbers) that asked you what you did with the money - you should have answered that you moved it to a retirement account.
This would have caused the distribution from the first 1099-R to be non-taxable. Does that work for you?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"