[#91] ignore duplicates inside same resource files

Previously a duplicate activity would cause the entire job to fail.