Fix pagination for web console

For some reason the previous stopped working