Fix last search operator handling