add a null check in the case where there is no parent and no version - validation will pick that up later