Fixed routing error.

Routes /documents/XYZ will now throw a 404 if XYZ is not a valid year group.