Catch KeyError when accessing the sub-doc items