Fix for the Flat View button; going back to the fandom view should now work correctly.
Issue 3525 - Allow the user to sort by date when clicking the date sort option button on the Stats page.
Merge pull request #1609 from someonefromthewater/issues/3525-missing-sort-by-date-option

Issue 3525 - Sort works by date on stats page when hit counts are disabled
Merge pull request #1608 from someonefromthewater/issues/3164-inconsistent-navigation

Issue 3164 - Fix for Inconsistent Navigation
Update index.html.erb

Pedantry