Ensure the object type being listed has a parentID field before filtering by it