Fix item number when creating pdf for printing list