Added code to ensure split plans are deterministic