Handle fragmented atrac IDs better.

This avoids conflicts when ids are deleted.
Merge pull request #1045 from unknownbrackets/atrac-minor

Handle fragmented atrac IDs better.