Shader Graph Intersection Effect

Hello, I am new to URP and I’m trying to make a shader for area of effects. I’ve followed a couple of different tutorials for getting the shader to glow where it intersects with geometry. However it has a problem where it highlights the edges of objects that are inside the mesh.

This is not the effect that I want and I’m not sure how to remove this as I have limited knowledge about shader programming. Perhaps if there was a way to compare the normals of the objects but I’m not sure how to do this in shader graph. This is the intersection part of my shader graph, any help would be appreciated I got from this tutorial: https://youtu.be/NiOGWZXBg4Y?t=589