Don't loop forever if sort key is missing in results
Don't loop forever if sort key is missing in results

The newer gerrit versions no longer report a sort key field
in results. This would cause the code to loop forever when
no limit was set, or when a limit was set and the result
count exceeded the limit.

berrange/gerrymander,berrange/gerrymander