Fix pagination [#46302531]

JS index-controller bug "> 1" instead of ">= 1" would not create
10-block of pages if number of pages was less than 20