Added a check for no intersections at all during KD-tree traversal