FIX #1971: Check if the search term is set
Merge pull request #1990 from JayDevlin/1971-text-contextsummary

FIX #1971: Text->ContextSummary