Disable tree expansion for filtered directories