Bugfix:

Use destructive splice instead of non-destructive slice.