fix pagination bugs in mobile user search
Merge pull request #2756 from dimagi/pagination

fix pagination bugs in mobile user search