Added exit rule for when more than one search term is provided