SONAR-4368 Highly improve performance of the project deletion operation