The segment IDs must also be set appropriately for the textual and visual parts.