Fixed the deletion of the projects on tear down