Invalidate cache when objects are deleted