diff --git a/library/Class/NoticeDomain.php b/library/Class/NoticeDomain.php
index 383b1976bd8541879ff617d9103a158513cf3d05..5d2f5bffa138311af7e40258ae791f075cb7d4b8 100644
--- a/library/Class/NoticeDomain.php
+++ b/library/Class/NoticeDomain.php
@@ -29,13 +29,9 @@ class NoticeDomainLoader extends Storm_Model_Loader {
     }
 
     $all_domain_ids =  array_filter(array_unique($all_domain_ids));
-
-    $domains = [];
-    foreach ($all_domain_ids as $id) {
-      $domains[] = Class_Catalogue::find($id);
-    }
-    return $domains;
-
+    return $all_domain_ids
+      ? Class_Catalogue::findAllBy(['id_catalogue' => $all_domain_ids])
+      : [];
   }
 
   public function getClesNoticesForDomain($domain_id) {
diff --git a/library/Trait/Indexable.php b/library/Trait/Indexable.php
index 48e4947df090866a8a320788c5dd4af20871616e..9c82a8644040bfd8a03829e4e48e0be6c19aa9af 100644
--- a/library/Trait/Indexable.php
+++ b/library/Trait/Indexable.php
@@ -74,16 +74,16 @@ trait Trait_Indexable {
   public function unindex() {
     $alpha_key = $this->getAlphaKey();
 
-    $domains = $this->getDomaines();
-    if (empty($domains)) {
+    $domains_ids = Class_Catalogue::getIds($this->getDomaines());
+    if (empty($domains_ids)) {
       Class_NoticeDomain::deleteBy(['record_alpha_key' => $alpha_key,
                                     'panier_id' => 0]);
     }
 
-    $domains_in_db = Class_NoticeDomain::getDomainsForRecordAlphaKey($alpha_key);
+    $domains_in_db_ids = Class_Catalogue::getIds(Class_NoticeDomain::getDomainsForRecordAlphaKey($alpha_key));
 
-    foreach(array_diff($domains_in_db, $domains) as $domain)
-      Class_NoticeDomain::deleteBy(['domain_id' => $domain->getId()]);
+    if ($to_delete = array_diff($domains_in_db_ids, $domains_ids))
+      Class_NoticeDomain::deleteBy(['domain_id' => $to_delete]);
   }
 
 
diff --git a/tests/library/Class/AgendaSQYImportTest.php b/tests/library/Class/AgendaSQYImportTest.php
index 7da00334b869cdebc35bcd9b0a94a3299e6dbac9..f8eafbd9ddc8708dd574772d15524dd4abba595c 100644
--- a/tests/library/Class/AgendaSQYImportTest.php
+++ b/tests/library/Class/AgendaSQYImportTest.php
@@ -78,7 +78,7 @@ class AgendaSQYImportTest extends Storm_Test_ModelTestCase {
 
     Storm_Test_ObjectWrapper::onLoaderOfModel('Class_Catalogue')
     ->whenCalled('save')->answers(true)
-    ->whenCalled('findAllBy')->answers(null)
+    ->whenCalled('findAllBy')->answers([])
     ->whenCalled('findAllBy')->with(['where' => 'parent_id is null',
                                      'order' => 'libelle'])->answers([$domaine_musique]);
 
@@ -96,7 +96,7 @@ class AgendaSQYImportTest extends Storm_Test_ModelTestCase {
 
     Storm_Test_ObjectWrapper::onLoaderOfModel('Class_ArticleCategorie')
     ->whenCalled('save')->answers(true)
-    ->whenCalled('findAllBy')->answers(null)
+    ->whenCalled('findAllBy')->answers([])
     ->whenCalled('findAllBy')->with(['id_cat_mere' => 0])->answers([$categorie_musique]);
 
 
@@ -379,8 +379,8 @@ class AgendaSQYImportTest extends Storm_Test_ModelTestCase {
   }
 
 
-  /** 
-   * @test 
+  /**
+   * @test
    * @depends lieuFermeBelEbatShouldHavePhone0130483344
    */
   public function lieuFermeBelEbatMailShouldBeSet($ferme) {
@@ -388,16 +388,16 @@ class AgendaSQYImportTest extends Storm_Test_ModelTestCase {
   }
 
 
-  /** 
-   * @test 
+  /**
+   * @test
    * @depends lieuFermeBelEbatShouldHavePhone0130483344
    */
   public function lieuFermeBelEbatLatitueShouldBe48_7($ferme) {
     $this->assertEquals('48.770757', $ferme->getLatitude());
   }
 
-  /** 
-   * @test 
+  /**
+   * @test
    * @depends lieuFermeBelEbatShouldHavePhone0130483344
    */
   public function lieuFermeBelEbatLongitudeShouldBe2($ferme) {
@@ -405,8 +405,8 @@ class AgendaSQYImportTest extends Storm_Test_ModelTestCase {
   }
 
 
-  /** 
-   * @test 
+  /**
+   * @test
    * @depends lieuFermeBelEbatShouldHavePhone0130483344
    */
   public function lieuFermeBelEbatUrlShouldBeLaFermeDeBelEbatDotFr($ferme) {
diff --git a/tests/library/Class/Import/Typo3Test.php b/tests/library/Class/Import/Typo3Test.php
index f26b41ce45ea811f9c4ee98aa1888955d27f1135..38efa977bfc335bb6322fe04589c0fb3b39e8d2c 100644
--- a/tests/library/Class/Import/Typo3Test.php
+++ b/tests/library/Class/Import/Typo3Test.php
@@ -271,7 +271,7 @@ class Import_Typo3ArticleTest extends Import_Typo3TestCase {
 
   /** @test */
   public function articleABordDuBateauPirateShouldBeInDomainAutres() {
-    $this->assertEquals(['Divers', 'NOS TOPS 5', 'Autres'],
+    $this->assertEquals(['Divers', 'Autres', 'NOS TOPS 5'],
                         $this->bateau_pirate->getDomaineLibelles());
   }
 
@@ -601,7 +601,7 @@ class Import_Typo3SitothequeTest extends Import_Typo3TestCase {
 
   /** @test */
   public function museoParcShouldBeInDomainAutres() {
-    $this->assertEquals(['Divers', 'NOS TOPS 5', 'Autres'],
+    $this->assertEquals(['Divers', 'Autres', 'NOS TOPS 5'],
                         $this->sito->getDomaineLibelles());
   }