Top-K: Trying to stop returning non-leaf nodes