Fix pagination for tasks

For some reason the previous stopped working
Merge pull request #103 from iNecas/fix-pagination

Fix pagination for web console