If page is out of range, then don't generate paginator at all.  Also simplify action view helpers logic to treat page after last page the same as all out of range pages.