Renamed on_commit_complete to on_next_commit_complete for clarity. Added an rassert.