Trouble with nested queries and ambiguous types. - Drizzle Team