Turrets (and some walls) are not fully despawning when raidbase ends

Turrets do not despawn when the raidbase despawns.  No exceptions thrown. No logs.  Everything else is working as expected. Any idea?

I'm aware of this issue but can't reproduce it. I am still looking for a solution and will post a fix when I find one