(i) If contributions are made on behalf of employees, some of whom are self-employed individuals, to a defined contribution plan described in
section 414(i) and included in
section 404(a) (1), (2), or (3), the amount deductible with respect to contributions on behalf of the common-law employees covered under the plan shall be determined as if such employees were the only employees for whom contributions and benefits are provided under the plan. Accordingly, for purposes of such determination, the percentage of compensation limitations of
section 404(a) (3) and (7) are applicable only with respect to the compensation otherwise paid or accrued during the taxable year by the employer with respect to the common-law employees. Similarly, the costs referred to in
section 404(a)(1) (A) and (B) shall be the costs of funding the benefits of the common-law employees. Also, the provisions of
section 404(a)(1)(D), (3), and (7), relating to certain carryover deductions, shall be applicable only to amounts contributed or to the amounts deductible on behalf of such employees.