I have capital gains and I paid margin on stock sales in the same fidelity account. When I import my 1099-MISC, margin interest paid is not deducted from total gain.

I have capital gains. I also paid margin interest when I borrowed money from Fidelity in the same account. However, when I import 1099-MISC/B, the margin interest is not deducted from total capital gain.

What am I missing?