Fixed bug with lost items on S3