Silly mistake with not setting commit variable after slice