(src) fix invalid validation check on minimum distance
Merge branch 'hotfix/0.1.7'