Fixing a problem with the unique for zz_domains_entities