Fixed use case for{$[1]->id} inside element attribs.