Added a count check before display.

It is to make sure the post actually exists. Since it works with
ID, numbers of unexisting posts can be entered and shouldn't
cause issues. It redirects to the main /archives page.
Fixes #22.