Correction of quantity of items per page