The object with class name Land_StoneWall_01_s_10m_F has incorrect geometry and will report the wrong height when using lineintersectsSurfaces to find the top of the stone wall.
The wall will consistently report to be much shorter than it really is. In fact, it will report to be shorter than Land_BagFence_Long_F.
Please checkout my uploaded mission file in Steps To Reproduce