Remove IDs used for summaries.
Fixes #4869