Fix paginator, go to the first page after changing categories