legacy: websearch interface fix

* Avoids exception on bad string formatting in the warning message
  when trying to access page without collections.
Merge pull request #125 from jalavik/legacy-websearch-fix

legacy: websearch interface fix