Enable start and end doc nums to be specified