diff --git a/src/database/rooms/edus.rs b/src/database/rooms/edus.rs
index 385ed7aa..5d046393 100644
--- a/src/database/rooms/edus.rs
+++ b/src/database/rooms/edus.rs
@@ -162,7 +162,7 @@ impl RoomEdus {
             })
         {
             // This is an outdated edu (time > timestamp)
-            self.roomlatestid_roomlatest.remove(outdated_edu)?;
+            self.roomactiveid_userid.remove(outdated_edu)?;
             found_outdated = true;
         }