I feel as though your solution (although interesting) may be over complicating this. You can use the offset parameter to paginate through 100 records.