Pagination and kirby 3.3.0+

Since I updated to version 3.3.2 my pagination is broken. It worked fine until version 3.2.5 but started to break with Version 3.3.0. I can’t reproduce this this a fresh starterkit, so I don’t know why it doesn’t work in my case.
It limits the pages correct but as soon as I want to go the page:2 it shows the error page.
Does somebody know if anything changed with the pagination?
I use a collection for my blog articles. the pagionation gets rendered correctly. But all the page:X leads to the error page.

Thanks to @manuelmoreale he found the problem in my controller:
I had something like:

$articles = collection('articles')->paginate(10);
$articlesByCategory = collection('articles')->filterBy('categories', $category)->paginate(10);

That worked until version 3.2.5. Since version 3.3.0 it makes the pagination break. By setting the second line conditional its working again:

$articles = collection('articles')->paginate(10);
if ($category) :
  $articlesByCategory = collection('articles')->filterBy('categories', $category)->paginate(10);
endif;

Maybe this helps others, thats why I post it here.