Fix 404 page not linking back to the index page on some pages