delete associated records when deleting tools [Finishes #77402236]