Fixed search parsing bug due to '#q' instead of '&q'