#2062 - Fix extra/missing spaces in search query in 3.0.x.

- Every to-be-concatenated string now begins with 1 space and ends with 0 spaces.