Revert "Don't update insert ID for status updates."

This reverts commit 51a613d0a6e5993963610101d0aeceb48a967fde.
ido: Don't update insert IDs for status updates (2nd attempt).
Use ASSERT() instead of assert().