Fix image selection on post create update