Corrected problem with saving an image when the model previously existed but the image didn't.