retrieve last sample in archive section

A mis-match of definitions was preventing
the last sample in an archive section
from ever being retrieved.