Fix bug that single element is added to query param.

RB=264751
BUGS=SI-1355
R=gogenc,si-dev
A=gogenc