Fix minimum distance cutoff for ConnectTheDots as in PR#887.