History displays proper 404

When no article is found in the history view, a proper 404 message is
shown instead of the previous inbox-spamming meltdown.