Clean data structures when project is deleted