Fixes for the binding of indexes (still the selected index not working)