core: Fix pagination problem (params not provided)