scheduler: DLP query - max_failures equal to remaining attempts