I think nested material override exclusion is not supported, it may work e.g. for Multi/Sub-object but not for Blend or Rayswitch.This will be more like a feature request for material override exclusion to support possible nesting.In your case, I think it is much easier to simply select objects with Select material and just exclude them by adding to the list.