SONAR-5286 Fix issue when duplications on removed file