Montana Itemized Deductions

Our federal taxes in Montana itemized deductions are not being capped at $5000 even though we're filing as "married filing separate on same form".  It's showing $1553 for my husband and $3746 for me which totals $5299.   We had $600 in ES in 2021 as well as payroll withholding.  Help?