Version history cleanup