Fix injectConceptNetwork

In some cases, instanceof cannot detect that an object is from a super class.