change to wordsearch

fixes bug where result were being sent for legislator even when not matched, since it was still returning results outside of the "if" statement