fixed logic of auto-numbering partitioning

for special case of first page in volume (only one page number instead
  of two)