I sold stock for a gain and then bought the same stock at a lower price on the same day. It was a mistake, I meant to sell only a portion of my shares and I accidentally sold them all. This is not a wash-sale, but I did make a small gain when I re-purchased the same number of shares. Turbo tax is showing the full gains but is not accounting for the repurchase. Essentially, I made a gain of $865. I never realized the full gain as cash. What can I do?