diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/cache.py
+++ b/allegedb/allegedb/cache.py
@@ -531,6 +531,8 @@ class Cache(Signal):
             if turn in kc:
                 kcturn = kc[turn]
                 kcturn.truncate(tick)
+                if not kcturn:
+                    del kc[turn]
             kc.truncate(turn)
             if not kc:
                 del self.keycache[entity_branch]
Handle a case of incomplete cache deletion I missed