fix bug where unmerged nodes were reporting wrong score