Fixed bug where we were indexing less than zero for some weird reason