Fix crash when the result child table is nil