Validating buffer for small lists

Updating buffer.bottom in the case when there are not enough items in the list.