I experienced duplicate/incorrect results in a Change_Entry std::set, which I tracked down to the Change_Entry "<" operator in https://github.com/drolbr/Overpass-API/blob/minor_issues/src/overpass_api/core/datatypes.h#L584-L595
Proposed fix: mmd-osm@b4bd639