Ensure that .Attr() sets values to empty strings if a null value is passed to it