Attributed strings - 'nil' argument crash fix