records delete when nodes or content types are deleted.