History - deleting sketches improvement

lets say you merge history and choose “keep sketches”, then later merge again and choose delete sketches. current behavior seems to delete every sketch in the file, including ones from earlier merges that were kept.

it would make more sense if delete sketches only applied to sketches from the current history batch being merged.

sometimes i need to keep a complex sketch around to reuse for a subtraction or something later. but once i keep even one sketch, it basically opts me out of using the delete sketches option in future merges.