Fixed bug causing statistics pages not to load and reload properly;