Handle duplicate timestamps