Fixing bug with no rows returned; Inserting cases as they are harvested.