DistanceToNearestSurface not maintaining consistent edges around intersecting objects

Check your distance fields in show> visualize> mesh distance fields, they cannot accurately represent small details. Increasing distance field resolution scale in your mesh might help a bit.