preventing old image size options from being lost on upgrade
only delete the old options if we successfully update
Merge pull request #2381 from neilpie/master

Image Size Options Bug