Rework `collapse_tlog`