Fixed bug in admin pagination