Fixed a bug in special_index case that failed with nonzero starting indices