Fixed bug with user pagination