FIX: Minor bug in dsdist.py for KDT's