Fix bug in indirectInstanceOf to use addAllSubclassOf.