"Find Path to Location Synchronously" always showing valid

I found a way to make it work but I’d like a more efficient way to do this.

Also, why is the last node of the navigation path a different z value than the target actor?