diff --git a/ivette/src/renderer/MultipleSelection.tsx b/ivette/src/renderer/MultipleSelection.tsx
index 3c887147c51f3bee3ccf3d39b7d04c9f89f24bbc..ab746c3718362f2d0a1a1d6b8ad92e56555cff37 100644
--- a/ivette/src/renderer/MultipleSelection.tsx
+++ b/ivette/src/renderer/MultipleSelection.tsx
@@ -30,8 +30,8 @@ const SelectionTable = () => {
   // Updates [[model]] with the current multiple selection.
   React.useEffect(() => {
     if (numblerOfSelections > 0) {
-      const array: SelectionId[] = multiple.allSelections.map((d, i) => ({ ...d, id: i }));
-
+      const data: SelectionId[] = multiple.allSelections.map((d, i) => ({ ...d, id: i }));
+      model.replaceAllDataWith(data);
     } else
       model.clear();
   }, [numblerOfSelections, multiple, model]);