BUGFIX: Regression error not saving record IDs.