Well, it doesn't resolve the issue, but it's a workaround, a tedious one. This is why they should have a system to purge old items (that isn't in chests and containers) and insects from time to time to ensure game performance remains stable. That would prevent issues like this one from happening as well.