Fixes pagination

There's a problem with the pagination. The GET parameter ?page=x is passed to the filter mechanism.

This is a simple patch that fixes it. It's not the best solution, but it works.