Fixed the usage of wcaMinScrambleDistance so that min actually means
min.