Currently, the db to es migration script is not fetching all the records. For example, in the Submission table, we have 5000+ records - yet only about 2500 - 3000 of them are being returned.