minor fix to update DistanceRestraint named constructor