Fix allInheritings issue