Re: issues like #6398, the current logic for embedded arrays is not very durable when it comes to figuring out what level of embedding it is at.