changed_ids pairs added, removed or reordered siblings by id, so an object
that only moved is skipped and a changed one is compared level by level
instead of listing every descendant of each shifted layer.
A path that was opened or closed during a script keeps its anchor counts
but not its segment indexes, so it is no longer selected again with a
segment that does not exist (select.segments refused it after the
change was applied).
docs/mcp.md states that a hidden or locked Live Paint group throws the
hidden-or-locked error rather than the Live Paint one.