Fix small memory in schedd when invalidating ads.