Fix minigrace failing on nested dialects