Basic question on K-1 MLP

If Box - 1 - income, Box 5-7 incomes(Interest, Dividends, Royalties) and Box 10 (1231 gain) income increases my tax basis, how does TT ensure that these incomes are NOT the part of  'Current year net Income' (section partner account analysis) which increases/decreases my cost basis ? When I sell I will sell based on cost basis set by ending capital account and if the above incomes have already been taxed, after sale wouldn't it be double taxation ?