For purposes of subparagraph (A), the term “5-percent shareholder” means any person who owns (directly or through the application of section
318
(a)) more than 5 percent of the outstanding stock of the corporation which issued such qualified employer securities or of any corporation which is a member of the same controlled group of corporations (within the meaning of section
409
(l)(4)) as such corporation. For purposes of the preceding sentence, section
318
(a) shall be applied without regard to the exception in paragraph (2)(B)(i) thereof.