Various fixes relating to list sizes.
first() method on history object