Added ability to get optional slash at end of search box redirect url route