diff --git a/src/main/java/org/olat/core/commons/services/vfs/ui/version/DeletedFileListController.java b/src/main/java/org/olat/core/commons/services/vfs/ui/version/DeletedFileListController.java
index 62b3800d9a0f521cd7de259220778d07ce7d99e7..25fb65dc4de811022be458e38ef43b28575ff3de 100644
--- a/src/main/java/org/olat/core/commons/services/vfs/ui/version/DeletedFileListController.java
+++ b/src/main/java/org/olat/core/commons/services/vfs/ui/version/DeletedFileListController.java
@@ -189,7 +189,7 @@ public class DeletedFileListController extends FormBasicController {
 		List<DeletedFileRow> rows = new ArrayList<>();
 		Map<VFSMetadata,DeletedFileRow> metaToRows = new HashMap<>();
 		for(VFSMetadata metadata:metadataList) {
-			if(metadata.isDeleted()) {
+			if(metadata.isDeleted() && !metadata.isDirectory()) {
 				DeletedFileRow row = new DeletedFileRow(metadata);
 				rows.add(row);
 				metaToRows.put(metadata, row);