Defensive NRE prevention

Ran into a case where the quick info GetTextSpan method was throwing a
null reference exception, so attempting to prevent that. Still not sure
of the cause yet...