Fixed a bug I introduced with vector.slice().