Fix to more link and totals (issue #275)

The params were always 'set', but were simply a blank array when empty. Using `sizeof` instead to check for params sent before constructing the more link.

The total sent back in each request was ignoring parameters passed; the more link was also only generated based off this total value.