Can Series EE Treasury Bonds Interest be Offset by Capital Gains Losses?

Hi Everyone. 

 

I have a question I could use some help on.

 

I cashed in some Series EE Treasury Bonds this year and received a 1099-INT form for the proceeds on the bond interest of about $40K. 

 

Also this year, I sold off some stock investments at a loss (-$20K)  in an effort to offset these interest gains. 

 

The gains in interest from the bond sale was more (+$40K)  than the capital loss on the stock sale (-$20K). 

 

After inputting all of the info in Turbo Tax, the 1099-INT Bond info does not seem to be combining with the Capital Loss on the Stock sale, resulting in a Capital Loss rollover ($-17K) for next years return.

 

Shouldn't the Bond Sale interest gained (+$40K) be a part of the Capital Gain/Loss Calc, meaning I do not have to rollover the remaining Capital Loss (-$17K) to next year and can realize it this year against the Bond gains?