Fix pagination of jqgrid.