Had swapped indexing. Fixed.