possible fix for deleting very large amounts of archived images