Investors & landlords

Investment Income only includes the types of income listed in Part I of Form 8960.  

In Part III, the tax is based on the lower of Investment Income (which does not include SS) or the amount your MAGI exceeds the threshold.  So if your investment income is more than the amount your MAGI exceeds the threshold then the tax is actually (and correctly) computed on a portion of your MAGI including Social Security rather than on investment income.