SONAR-5007 - Added support for nested deletion with native ES script