Corrected bug: When the term had multiple words, I was unnecessarily url encoding it, which was being encoded a second time by the rest client lib