correct logic error in batches_helper; closes #767
Merge pull request #768 from duke-libraries/767-batches-helper-error

correct logic error in batches_helper; closes #767