Fix bug where number of ticks run is less than requested
Merge pull request #6 from camspiers/fix-run-count

Fix bug where number of ticks run is less than requested