Get your taxes done using TurboTax

That's ok.  If the taxable amount on 5b is the same as the gross distribution on 1099R box 1 then it doesn't show the amount on 5a.  5a is not important.  And it doesn't matter which amount is rolled over.