Simplify search code for keyword searches.
Simplify search code for keyword searches.

We use an array now to build up the list of search operands and
then consolidate the special search handling after the loop (which
means setting the flag, putting two more columns in the query, and
using ' '.join to build the string).

tommyip/zulip,tommyip/zulip,zulip/zulip,kou/zulip,zulip/zulip,rht/zulip,rht/zulip,synicalsyntax/zulip,synicalsyntax/zulip,shubhamdhama/zulip,eeshangarg/zulip,jackrzhang/zulip,shubhamdhama/zulip,shubhamdhama/zulip,synicalsyntax/zulip,rishig/zulip,andersk/zulip,synicalsyntax/zulip,andersk/zulip,dhcrzf/zulip,eeshangarg/zulip,rht/zulip,rht/zulip,tommyip/zulip,timabbott/zulip,punchagan/zulip,brainwane/zulip,dhcrzf/zulip,jackrzhang/zulip,shubhamdhama/zulip,shubhamdhama/zulip,shubhamdhama/zulip,rishig/zulip,kou/zulip,hackerkid/zulip,tommyip/zulip,timabbott/zulip,synicalsyntax/zulip,dhcrzf/zulip,showell/zulip,andersk/zulip,andersk/zulip,jackrzhang/zulip,andersk/zulip,kou/zulip,rishig/zulip,hackerkid/zulip,jackrzhang/zulip,andersk/zulip,zulip/zulip,tommyip/zulip,rishig/zulip,hackerkid/zulip,rishig/zulip,showell/zulip,dhcrzf/zulip,rht/zulip,hackerkid/zulip,eeshangarg/zulip,brainwane/zulip,kou/zulip,tommyip/zulip,timabbott/zulip,punchagan/zulip,hackerkid/zulip,showell/zulip,timabbott/zulip,punchagan/zulip,showell/zulip,synicalsyntax/zulip,timabbott/zulip,zulip/zulip,eeshangarg/zulip,zulip/zulip,jackrzhang/zulip,brainwane/zulip,rht/zulip,zulip/zulip,eeshangarg/zulip,brainwane/zulip,synicalsyntax/zulip,andersk/zulip,brainwane/zulip,tommyip/zulip,showell/zulip,dhcrzf/zulip,rishig/zulip,timabbott/zulip,dhcrzf/zulip,zulip/zulip,punchagan/zulip,showell/zulip,rishig/zulip,hackerkid/zulip,showell/zulip,rht/zulip,punchagan/zulip,brainwane/zulip,jackrzhang/zulip,brainwane/zulip,punchagan/zulip,kou/zulip,timabbott/zulip,kou/zulip,hackerkid/zulip,kou/zulip,punchagan/zulip,eeshangarg/zulip,shubhamdhama/zulip,dhcrzf/zulip,eeshangarg/zulip,jackrzhang/zulip