Fix failing submission with some images