Fixed an overzealous substring operation that temporarily wrecked the
front page.