Let URLs be generated by Flask: Fix for stats.html