Fixed handling of 'page' parameter for 'list' commands.

- The 'page' parameter will default to the total number of pages,
  if it's greater than the total