allow batch_len=1 in generate_queryset_batches