make sure the column-index found through awk is not empty before adding
it to columnIndices