Deleted contents no longer appear in 'last contents', fixes #315.