Fixed KNearest option bug