In the case of an affiliated group which includes 1 or more insurance companies under section
801, no dividend by any member of such group shall be treated as a qualifying dividend unless an election under this paragraph is in effect for the taxable year in which the dividend is received. The preceding sentence shall not apply in the case of a dividend described in paragraph (1)(B)(ii).