Query based on nested relation - Drizzle Team