SI-4012 Mixin and specialization work well

The bug was fixed along with SI-7638 in 504b5f3.
Merge pull request #3102 from VladUreche/issue/4012

SI-4012 Mixin and specialization work well