[569] Make sure we remove duplicate resources that we find