made CheckFieldsNotNil check parents are not nil as well