Classifying "unrealized gains" correctly in income and spending sections

This is a repeat of a post from 2019 by a certain Mr. RKzar. There hasn't been a solution since. I use Quicken Deluxe version R45.21. Here is the problem: in my Quicken spending reports, unrealized gains and losses appear split in both the income and expense sections. The total is correct, but I'm not sure why the amount is split between income and expense. There does not seem to be a pattern to why some unrealized gains show in the expense section vs. the income section. How do I force to classify unrealized gains and losses either on net (in a single section) or on gross in the respective section?