hotfix/defenseMemory - attempt to get Memory.tasks.defense to clean up properly
So far, this fixes a bug where the cleanup check wasn't being triggered as often as it should, however there's likely still an error in the cleanup code itself.
Edited by username-removed-1357377