Ensure only one resource per dataset is defined