Handle out of bounds numeric segments in date attributes. Fixes #356
Merge pull request #358 from ministryofjustice/bugfix/gh-issue-356

Handle out of bounds numeric segments in date attributes. Fixes #356