In [line 20](https://github.com/ontohub/ontohub/blob/819-adjust_entity_tree_rake_task/lib/tasks/generate.rake#L20) you are using `destroy_all`, which triggers callbacks, to get rid of the entity groups, but here you are using `delete_all`, which is not triggering callbacks, is there a specific reason for that?