Remove duplicates when processing child resources