check that there is a county before checking its name
Merge pull request #167 from ministryofjustice/70175384-json-county

check that there is a county before checking its name