Fix a bug in KDEFeature.