Handle error when nested object is null and nested nested object trying to be set