Fixed moderation of images not getting the image in the database properly.