Fix bug to do with eagerly persisting too many rows to the db