Fix idl of nearest_neighbor