Removed improper exception for zero-distance neighborhood dissimilarity