[web] Fix deeply nested files and folders selection GitOrigin-RevId: 3c9cc62f3294a735627d27019e53917b6fa8e6f2