Fix LSM merge