Fix creating AttributedString from nil