Fix a bug where LSM would get the same lock twice during a drop.