Limit the number of returned events