1040 5a and 5b rollover entry

In 2023, I rolled over money from my traditional 401k into a Roth IRA. The 1099-R, Box 7 reflected Code G- Direct rollover and rollover contribution. The amount was reflected in 1040 line 5b and was a taxable event.

 

However, in 2024, when I again rolled over money from my traditional 401k into the same Roth IRA (with Box 7 code G on the 1099-R), it was reflected in 1040 line 5a and is now showing up as a non-taxable event.

 

Is there a bug/glitch in the TurboTax Deluxe software for 2024?