Handle the case where the element doesn't have a name attribute