Fix depth exclusion strategy