Added some checking to SearchTopics.