Tighten logic for "Logical Path Prefix"