Merge with previous revision of the same session
Move reduce() to compat