Candidates selection with submeshes octree confilcts with logic for checking if submesh supports intersect.
Ray intersects bounding box of mesh.
Then, if octree presents, octree returns submeshes from blocks. Ray might intersect only empty blocks, so no submeshes returned. No submeshes returned - submeshes do not support intersect.
I linked code below.
What problem I see.
If I want check that ray intersects any triangles and ray intersects empty octree block, I will get no info at all