SONAR-4860 Add explicit check in ES that document is deleted if rule has been deleted