Reordered marker clearing.