Fixed typo in queditdistance