K-1 vs 1099

I do not want to double report capital gains. I sold out of all of my EFTs last year (mostly because the taxes on them are so complicated) and I do not want to double report my capital gains, but also want to make sure I am reporting them right. It looks like all of the capital gains were reported under the 1099 section when I uploaded my 1099 from Schwab. However, I am now working on the K-1s and it is asking if I sold out of the funds, which I did. When I enter the amounts, my refund is reduced proportionately, but those capital gains/losses were already reported under the 1099 section (they are the same amounts as the K-1s from what I can see). So I suspect I am double reporting them, but I also have no idea if I should report them under the K-1 section or the 1099 section. So what's the correct way to do this?