Investors & landlords

Modified AGI starts with your Adjusted Gross Income and then adds back certain deductions and other items.  Your Adjusted Gross Income includes the income on Schedule 1, including the capital gains.  There's no adjustment of those capital gains in calculating Modified AGI.