Fix `first` and `last` helpers when count > length