Narrow search for logical ID by ennvironment tag on the stacks