double read timestamps and fix sequence_id check