Fixed bug for when classes that have deeper interface hierarchies than
their class hierarchies