Fix the way arguments are sliced to appease IE8