Limit data grabbing to what is available.
Limit data grabbing to what is available.

It was possible for the DataTable#_get_json_table method to attempt to
grab more data than available, resulting in an infinite loop. If user
provides a record maximum that is higher than the total records, only
grab the total records.

gschneider-r7/nexpose-client,rapid7/nexpose-client,jhart-r7/nexpose-client,nbirnel/nexpose-client,tomhart-r7/nexpose-client