Fix bug where it wasn't possible to create more than one response record on SQLite and Postgres (#8664)