Bug 947939 - Fix mixed up logic in the search query generator
Bug 947939 - Fix mixed up logic in the search query generator

jbuck/MakeAPI,cadecairos/MakeAPI,mozilla/MakeAPI,cadecairos/MakeAPI,mozilla/MakeAPI