Corrected primary key in the image_version table.