Cleaning up triggers when a permanent leaves