Renamed first_batch to has_sent_batch