Fixed issue with race condition and splittig nodes.