Added ciniki_image_ref into history for dbIntegrityCheck