Fixed nulling selIndex bug
Closes #13