Solo 401k maximum contribution limit not including W-2 income

Hello,

After entering my wife ($20,500) and mine ($27,000) Solo 401k contributions  in the "Individual and Roth 401(k) plans section" and then selecting Maximize Contribution to Individual 401(k), it is calculating my wife max allowed to qualified plans as $0 and indicating that the difference must be withdrawn by plan due date.

My wife owns the company, sole proprietary, she and I (spouse) are the only employees of the company, so we can contribute to the Solo 401(k) based on the W-2s the company paid to us, but it seems Turbo tax is not including those W-2 incomes in the calculations. It is just using a 1099-NEC for me, which is a different income I have, and no income for my wife. Why are W-2 not being considered? Should I add them into the "Adjusting Self-Employment Income" screen?