This was causing the driver to write past the end of our vector.