Surface.ProjectInputOnto giving to many values

Hi, I’m trying to get the distance of points to the surface above them to offset a family. Not sure whats going on with this node though. Think its because I’m trying to merge surfaces. Any ideas?

This sort of helped but not what I’m after. Maybe I dont understand this node correctly

this worked better