fix issue that arose when trying to remove traces from a pickable gather due to metadata being modified before pick data