Add support for data_relation with late document versioning