SONAR-4203 Fix version deletion