Small error in lossy: bump up 'elements' only when actually adding a string