Limit number of events returned to sys.maxint