Created the filthiest hack ever to get pretty urls back for stats pages.