Fixed bug: cannot retrieve all records from sharded results.