Transmission depth in cycles seems to be one less than the actual transmission depth, this path fixes the mnne code to confrom to this convention. Also added support for using light path nodes in light and refractive interfaces shader graphs, which might use depth.
See T97921 for an example scene leveraging both fixes.