Do not check inner classes for overriding type as part of #SCL-5249
#SCL-5249 Fixed