Fixing issue causing post loop to not merge properly