Restricts selection by index to being enabled so that selection by object still works when necessary.