This section shall be applied separately with respect to items attributable to each publicly traded partnership (and subsection (i) shall not apply with respect to items attributable to any such partnership). The preceding sentence shall not apply to any credit determined under section
42, or any rehabilitation credit determined under section
47, attributable to a publicly traded partnership to the extent the amount of any such credits exceeds the regular tax liability attributable to income from such partnership.