Heat flow table copying row correctly using insertBefore().