Not sure if points are being deducted properly

I bought a home in 2022

 

I have two 1098 forms for the purchased home, one with the original lender, and another lender that the loan was sold to a few months later in 2022. 

 

I paid 4,099.59 in points, and I can see this amount on the first 1098 as "Points paid on purchase of primary residence". The second 1098 does not have a value entered here. 

 

I entered both 1098 forms, and I put the points in with the first one, and did not put the points in under the second one. I marked the first one as "no" for "Is the 1098 you're working on the most recent for your loan?"

 

Having done all that, on the "Home  loan deduction summary", I can see that the interest is listed for both lenders, and I can see that the Deductible Points is listed for the first 1098.

 

However, when I finish the "deduction and credits" and I see it itemize the various deductions and credits, I don't see the Points listed. 

 

Messing around on the form, if I go back and enter the points under the second 1098 rather than under the first, it looks like it will then recognize the deduction. 

 

Is that how I should enter the deduction for the points, under the second 1098? Not sure if I'm missing something, but I wouldn't imagine that it should matter whether or not the loan was sold to another lender. However, it does seem to matter whether I enter the amount under one particular lender or another. 

 

Thank you!