Fix error where user might try to set a page number of 0 on paginated commands.