Fix tag search behavior.