Fixes ToolPageContext.pageParam not working correctly with primitive types.
Adds advanced search link to global search.