Test for exact type rather than type-or-subclass
We want to filter out DataObject types, whereas isinstance will also filter out subclasses of DataObject (which is what we're interested in).
We want to filter out DataObject types, whereas isinstance will also filter out subclasses of DataObject (which is what we're interested in).