Network Admin>All sites not working properly after creating 12000 sites

Network Admin>Sites All not showing all sites after batch creating 12000 sites.

It shows the first page but does not paginate to show the rest of the sites.

When using Site Directory plugin on the front end it shows all sites paginated as it should in the admin.

Screen options are on 20 per page. I have the same problem with All Users