Update to tabindex

Found a issue with my other change and fixed it.