Fixed pagination in admin mode