Fixed bad return when deleting s3 images.