diff --git a/actions/ost-compare-ligand-structures b/actions/ost-compare-ligand-structures
index c1e873f421a1c567607832c499ef97297bb34f24..e8af175af2aa41f6c922165f901f9f917e7713c4 100644
--- a/actions/ost-compare-ligand-structures
+++ b/actions/ost-compare-ligand-structures
@@ -336,9 +336,6 @@ def _LoadStructure(structure_path, sformat, fault_tolerant, bu_id):
             for biounit in cif_info.biounits:
                 if biounit.id == bu_id:
                     entity = ost.mol.alg.CreateBU(cif_entity, biounit)
-                    if not entity.IsValid():
-                        raise IOError(
-                            "Provided file does not contain valid entity.")
                     break
             else:
                 raise RuntimeError(f"No biounit found with ID '{bu_id}'.")
diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures
index 900e9c3f778c7a2b93bc15396c22901d50ec3c79..56b040fb37b2aa8aca3dcf4489896d1daa419e20 100644
--- a/actions/ost-compare-structures
+++ b/actions/ost-compare-structures
@@ -582,9 +582,6 @@ def _LoadStructure(structure_path, sformat, fault_tolerant, bu_id):
             for biounit in cif_info.biounits:
                 if biounit.id == bu_id:
                     entity = ost.mol.alg.CreateBU(cif_entity, biounit)
-                    if not entity.IsValid():
-                        raise IOError(
-                            "Provided file does not contain valid entity.")
                     break
             else:
                 raise RuntimeError(f"No biounit found with ID '{bu_id}'.")