Driver index behaving correctly