Steps to reproduce:1. You should have more than 6 jobs in your Opencast system. Open the media module and press last or next page.
2. You get to an empty page. And next/last don't take you to the expected pages
Merged as PR 1422 commit e975137