Check for resource duplication.