There shall also be excluded from the computation of unrelated business taxable income gains or losses from the sale, exchange, or other disposition of property other than (i) stock in trade or other property of a kind which would properly be included in the inventory of the organization if on hand at the close of the taxable year, or (ii) property held primarily for sale to customers in the ordin