Don't add empty string value to valueless attributes