Fix broken paging

Fixes #326
This condition is not needed since an empty list is falsy which is asserted in the first condition.