The merge function was incorrect. It's corrected now.