Fix for no end slash in the url when you use the browser search stuff