Two-line fix for event and superevent queries. specifying
max_results would terminate the generator loop, but the client code wouldn't fully break out of the loop of query results. Usually not noticeable and the returned generator results were never more than
max_results, but in scenarios where the server-side results were much more than
max_results, the client code would appear to be unresponsive.