Tested large data set and fixed bug with find_each missing the primary key for iteration