Updated exclusion to work with nested levels