pagination bug fix on users index page