Yeah, I agree.  One clean way to do this is to have your route code be a function that gets called by both the `/search` and `/tags/ routes, each one dealing with param parsing.  Then the search logic can just use the args it's passed.