Fix multiple image deleting bug with promise.join