fix potential issue when splitting leaf nodes

Authored by alcinos on Mar 4 2018, 6:22 PM.