The history window considered by the auto-merger must span from the max time considered by the previous auto-merge round to the current oldest supported snapshot time.
Fix the currently flawed logic here and here