Add safety check for resource-as-a-property set to equal path value