Fix markup issue when there aren't any search terms