Fix reloadOnSearch to only pay attention to search params.

Before, the route wouldn't reload even if a path parameter changed.
Now, it only prevents a reload if the search parameters were the only
thing to change.