Fixed bug in split algorithm. Split algorithm couldn't split variadic list after last element.