Fix major bug with reverse_merge