blog - fix pagination for PG adapter