FIXED: Add some extra debug info to analyse_merge_nodes().