Fix bug with sort descending
Pre-release
Pre-release
There is a clever calculation for previous and next page where we pull 1 extra item. However when it is sort descending it ends up removing the first item instead of the extra one it added. This fixes that bug
It also fixes a minor bug where hasPreviousPage and hasNextPage sometimes return null instead of false