Gracefully handle empty pagination result

Pagination was mistakenly interpreting an empty result
set as result set containing a single null value.

Bug: 61349
Change-Id: Ia8afd0457baec1527ad8a7de3a656aa3b9b3d312
Merge "Gracefully handle empty pagination result"