fix issue 538 add validation if tag is part of sector tree