How select row with no children? - TanStack