Fix bug in persistent yank