index#with_K: Now returns [] rather than undefined if there are no values.