Fix so "row_index" can increment

Before my change, the code would not output names at all