Finally found and fixed bug. Was splitting incorrectly if multiple axis values are the same.