Handle multiple levels with multiple join fields