Properly set minimum transaction id when transaction log is empty.