fixes bug where bulk creation of enrollments caused no new history records to be created
2to3 -f future . -w