fix minor bug with off by one error in max_examples tracking
Merge pull request #195 from agrubb/bugfix-max-examples

fix minor bug with off by one error in max_examples tracking