The check is already done when we read out first_batch from the cursor, so not a problem here.