Fixed next pointer's previous when merge

Problem is now with the "allocated" bit always showing 1