Do not rely on ActiveRecord's find_in_batches only. Fix #9