Intersection tables: add project constraint for class and treenode lookup