diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb
index 31549c9da806f81b82d5d8668c2e87a889320b65..2af9b05bef0ee95f324a4595732539839ba66915 100644
--- a/notebooks/LPD/LPD_Correct_Fast.ipynb
+++ b/notebooks/LPD/LPD_Correct_Fast.ipynb
@@ -619,7 +619,10 @@
     "        \n",
     "    for seq_number, seq_output_paths in output_by_seq.items():\n",
     "        # Create data collection and detector components only for this sequence.\n",
-    "        det = LPD1M(xd.DataCollection.from_paths(seq_output_paths), detector_name=karabo_id, min_modules=4)\n",
+    "        try:\n",
+    "            det = LPD1M(xd.DataCollection.from_paths(seq_output_paths), detector_name=karabo_id, min_modules=4)\n",
+    "        except ValueError:  # Couldn't find enough data for min_modules\n",
+    "            continue\n",
     "        det.write_virtual_cxi(vcxi_folder / f'VCXI-LPD-R{run:04d}-S{seq_number:05d}.cxi')"
    ]
   }