removes deleted objects from collections