[BUGFIX] Concatenated documents should have their root set correctly