Fixes to split not removing keys from childtosplit

BUG: children are in the wrong order