diff --git a/Database/IOVDbSvc/python/CondDB.py b/Database/IOVDbSvc/python/CondDB.py
index fc854f8f1c8b0b385d1f59127965445611024eb7..9dd4aebc60b7449e7135d2a67be33db2de67a881 100644
--- a/Database/IOVDbSvc/python/CondDB.py
+++ b/Database/IOVDbSvc/python/CondDB.py
@@ -267,7 +267,11 @@ This allows the possibility of later adding a new IOV using IOVSvc::setRange."""
             if (self.iovdbsvc.Folders[i].find(folder)>=0):
                 del self.iovdbsvc.Folders[i]
                 break
-            
+        for i in range(0, len(condInputLoader.Load)):
+            if (condInputLoader.Load[i][-1] == self.extractFolder(folder)):
+                del condInputLoader.Load[i]
+                break
+
     def folderRequested(self,folder):
         "Return true if the given folder has already been requested"
         for i in self.iovdbsvc.Folders: