webfront: correct wrong pagination