Updates RTree find to stop iterating after finding a matching element.