fix publish() when a tx doesn't change the snapshot